﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WFL.Wrapper.Highcharts
{
    public class SeriesDataObject : JsonObject
    {
        public string Name2
        {
            get { return (string)this["name"]; }
            set { this["name"] = value; }
        }

        public float Y
        {
            get { return GetValue<int>("y"); }
            set { this["y"] = value; }
        }

        public bool Sliced
        {
            get { return GetValue<bool>("sliced"); }
            set { this["sliced"] = value; }
        }

        public bool Selected
        {
            get { return GetValue<bool>("selected"); }
            set { this["selected"] = value; }
        }
    }
}
